package org.jeecg.modules.flowerAdjust.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 批量入库调整主表
 * @Author: jeecg-boot
 * @Date:   2022-11-16
 * @Version: V1.0
 */
@Data
@TableName("t_flower_adjust_tag_in_main")
@ApiModel(value="t_flower_adjust_tag_in_main对象", description="批量入库调整主表")
public class TFlowerAdjustTagInMain implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
	@ApiModelProperty(value = "id")
	private String id;
	/**入库单号*/
	@ApiModelProperty(value = "入库单号")
	private String no;
	/**调整单号*/
	@ApiModelProperty(value = "调整单号")
	private String adjustNo;
	/**来源基地*/
	@ApiModelProperty(value = "来源基地")
	@Dict( dictTable = "t_flower_planting_base",dicText = "name",dicCode = "id")
	private String sourceBase;
	/**来源大棚*/
	@ApiModelProperty(value = "来源大棚")
	@Dict( dictTable = "t_flower_planting_greenhouse",dicText = "name",dicCode = "id")
	private String sourceGreenhouse;
	/**库房*/
	@ApiModelProperty(value = "库房")
	private String storehouse;
	/**成本中心*/
	@ApiModelProperty(value = "成本中心")
	private String cost;
	/**分拣日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "分拣日期")
	private Date sortTime;
	/**账期号*/
	@ApiModelProperty(value = "账期号")
	private String period;
	/**账期状态*/
	@ApiModelProperty(value = "账期状态")
	private String periodState;
	/**财务确认人*/
	@ApiModelProperty(value = "财务确认人")
	private String financeSureUser;
	/**财务确认时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "财务确认时间")
	private Date financeSureTime;
	/**库管确认人*/
	@ApiModelProperty(value = "库管确认人")
	private String storekeeperSureUser;
	/**库管确认时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "库管确认时间")
	private Date storekeeperSureTime;
	/**运管确认人*/
	@ApiModelProperty(value = "运管确认人")
	private String operationSureUser;
	/**运管确认时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "运管确认时间")
	private Date operationSureTime;
	/**状态（0录入，1财务确认，2库管确认，3运管确认）*/
	@ApiModelProperty(value = "状态（0录入，1财务确认，2库管确认，3运管确认）")
	private Integer state;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
}
